package com.xiaocan.secondhand.service.impl;


import com.xiaocan.secondhand.mapper.userMapper;
import com.xiaocan.secondhand.pojo.user;
import com.xiaocan.secondhand.service.userService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class userServiceImpl implements userService {
    @Autowired
    userMapper userMapper;

    @Override
    public List<user> findAll() {
        return userMapper.findAll();
    }
}
